package top.healthylife.gateway.platform.bj.dto.personalmark.v1.tiantong.custom1.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import top.healthylife.gateway.dto.annotation.ApiField;
import top.healthylife.gateway.dto.request.req.ApiReqDto;
import top.healthylife.gateway.platform.bj.dto.basedto.req.SecurityType;

/**
 * @author : GaoZeXi
 * @date 2021/10/19 16:17
 */
@Data
@Accessors(chain = true)
@ApiModel("个人评分-天瞳定制1")
public class BjReqPersonalMarkEye21CustomOneV1Dto extends ApiReqDto {
    @ApiField(value = "身份证号码",necessity = true)
    @ApiModelProperty(value = "身份证号码",example = "640323197312212013",required = true)
    private String id;

    @ApiField(value = "姓名",necessity = true)
    @ApiModelProperty(value = "姓名",example = "贾云",required = true)
    private String name;

    @ApiField(value = "手机号",necessity = true)
    @ApiModelProperty(value = "手机号",example = "15595327779",required = true)
    private String mobile;

    @ApiField(value = "编码方式",necessity = false)
    @ApiModelProperty(value = "编码方式, MD5 加密， SHA256 加密,不填默认为MD5",example = "",required = false,
            notes = "100 - MD5 加密， 101 - SHA256 加密;注意，姓名必须为明文传入，MD5、SHA256 编码只针对手机号、\n" +
                    "身份证号。若三要素信息不匹配，则可能会对结果产生影响")
    private SecurityType securityType = SecurityType.MD5;
}
